package jicheng;

class father {
    public int num = 10;
}

class son extends father{
    public int num = 20;

    public void show(){
        int num  =30;
        System.out.println(num);
        System.out.println(this.num);
        System.out.println(super.num);

    }
}

public class extendsDemo02 {
    public static void main(String[] args) {
        son s = new son();
        s.show();
    }
}
